package com.yeyks.hotel.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 推荐酒店表
 * </p>
 *
 * @author yun
 * @since 2020-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HotelRecommend对象", description="推荐酒店表")
public class HotelRecommend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "酒店名称")
    @TableField("hotel_name")
    private String hotelName;

    @ApiModelProperty(value = "城市名")
    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "酒店地址")
    @TableField("hotel_address")
    private String hotelAddress;

    @ApiModelProperty(value = "推荐图片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "推荐内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "售价")
    @TableField("sale_price")
    private Integer salePrice;

    @ApiModelProperty(value = "支付价")
    @TableField("pay_price")
    private Integer payPrice;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;


    public static final String ID = "id";

    public static final String HOTEL_ID = "hotel_id";

    public static final String HOTEL_NAME = "hotel_name";

    public static final String CITY_ID = "city_id";

    public static final String HOTEL_ADDRESS = "hotel_address";

    public static final String IMAGE = "image";

    public static final String CONTENT = "content";

    public static final String SALE_PRICE = "sale_price";

    public static final String PAY_PRICE = "pay_price";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

}
